/*************************************************************************
 * @file: hedui.cpp
 * @date: 01/04/2012
 * TOPOL v1_0 - (c)copyright 2012 TEC/UFF
 *************************************************************************
 * This is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 ************************************************************************/

// includes
//----------
#include "hedui.h"
#include <iostream>


///////////////////////////////////////////////////
///  Constructor and Destructor Implementation  ///
///////////////////////////////////////////////////

//-------------------------------------------------------------------------
HEDUI::HEDUI()
{
	
}
//-------------------------------------------------------------------------



///////////////////////////////////////
///  PUBLIC Methods Implementation  ///
///////////////////////////////////////

//-------------------------------------------------------------------------
void 
HEDUI::addPoint( double _x, double _y, double _z )
{
	m_controle.doAddPoint(_x,_y,_z,0.001);
}
//-------------------------------------------------------------------------

//-------------------------------------------------------------------------
void 
HEDUI::addCurve( double _x1, double _y1, double _z1,
                 double _x2, double _y2, double _z2 )
{
	m_controle.doAddCurve(_x1,_y1,_z1,_x2,_y2,_z2,0.001);
}
//-------------------------------------------------------------------------

//-------------------------------------------------------------------------
void 
HEDUI::addTriangle( double _x1, double _y1, double _z1,
                    double _x2, double _y2, double _z2,
                    double _x3, double _y3, double _z3)
{
	m_controle.doAddTriangle(_x1,_y1,_z1,_x2,_y2,_z2,_x3,_y3,_z3);
}
//-------------------------------------------------------------------------
